|
Oracle® Rules Palette Release 9.1.0.0.0 E15811-01 |
GenerateSuspense business rule is used to create a suspense record when the transaction in which the rule is attached is processed. The rule populates a value to the fixed fields in the AsSuspense table (SuspenseScreen) as well as to the dynamic fields in the AsSuspenseFields table. Examples of these fixed fields are: Policy Number, Effective Date, Amount, Type Code and Status. Some of those fields can be populated based on the configuration defined in this business rule. Suspense records and accounting to those suspense records can be conditionally created.
Note: If the <Suspense> tag is present in this transaction configuration, then the GenerateSuspense attached business rule will not execute. The <Suspense> tag in the transaction takes precedence.
|
Element/Tag |
Definition |
Attribute |
Element/Attribute Value and Description |
|
<GenerateSuspense> |
The required opening and closing elements of this business rule. |
RULE |
Optional
attribute; |
|
<Suspense> |
Optional element; |
|
|
|
<Column> |
Optional
/ Repeatable element; |
NAME |
Required attribute; |
|
<Fields> |
Optional element; Used to specify the MathVariables in transactions where the values should be copied from. Also specifies the Fields in SuspenseScreen/SuspenseBatchScreen (AsSuspenseField) where values should be copied to. |
|
|
|
<Field> |
Required / Repeatable element; The opening and closing tag that encompasses <From> and <To> elements |
|
|
|
<From> |
Required element; The <From> element will contain the name of Field or MathVariable in the Transaction
|
|
Required element value; String The field name or MathVariable in the transaction where the values should be copied from. |
|
<To> |
Required element; The <To> element will contain the name of a dynamic field in SuspenseScreen/SuspenseBatchScreen where the value should be copied to. |
|
Required element value; String The field name or MathVariable in the SuspenseScreen/SuspenseBatchScreen where the values should be copied to. |
|
<GenerateAccounting> |
Optional
element; |
|
|
|
<Tests> |
Optional
element; |
|
|
|
<Test> |
Required
/ Repeatable element; |
TYPE |
Required element value; Example: <Test TYPE="Expression">SomeMathVariable =27</Test> |
|
<ShadowSuspenseOnReversal> |
Optional
element; |
|
|
|
<Tests> |
Optional
element; |
|
|
|
<Test> |
Required
/Repeatable element; |
TYPE |
Required
element value; |
|
<GenerateAccountingOnReversal> |
Optional
element; |
|
|
|
<Tests> |
Optional
element; |
|
|
|
<Test> |
Required
/ Repeatable element; |
TYPE |
Required
element value; |
<GenerateSuspense>
<Tests>
<Test TYPE="Expression">GenerateSuspense=Yes</Test>
</Tests>
<Suspense>
<Column NAME="TypeCode">'03'</Column>
<Column NAME="Amount">1000</Column>
<Column NAME="PolicyNumber"></Column>
<Column NAME="EffectiveDate"></Column>
<Column NAME="LastName"></Column>
<Column NAME="FirstName"></Column>
<Column NAME="AccountNumber">50002</Column>
<GenerateAccounting>
<Tests>
<Test>Yes = Yes</Test>
</Tests>
</GenerateAccounting>
<GenerateAccountingOnReversal>
<Tests>
<Test>Yes = Yes</Test>
</Tests>
</GenerateAccountingOnReversal>
<ShadowSuspenseOnReversal>
<Tests>
<Test>Amount = AttachedAmount</Test>
</Tests>
</ShadowSuspenseOnReversal>
</GenerateSuspense>
<GenerateSuspense RULE="[SuspenseScreen | SuspenseBatchScreen]">
<Tests>
<Test></Test>
</Tests>
<Suspense>
<Column NAME="[String]">[Date | Integer | String | Decimal | Money | Percent]</Column>
<Fields>
<Field>
<From>[String]</From>
<To>[String]</To>
</Field>
</Fields>
<GenerateAccounting>
<Test></Test>
</GenerateAccounting>
<GenerateAccountingOnRevesal>
<Test></Test>
</GenerateAccountingOnRevesal>
<ShadowSuspenseOnReversal>
<Test></Test>
</ShadowSuspenseOnReversal>
</Suspense>
</GenerateSuspense>